export default {
  state: {
    userInfo: null,
    token: null,
    isLogin: false,
  },
  mutations: {
    setUser(state, data) {
      state.userInfo = data
    },
    setLoginStatus(state, data) {
      state.isLogin = data
    },
  },
  actions: {
    loginByIdentity({ commit, dispatch }, query) {},
    logoutForOauth({ state, commit, dispatch }) {},
  },
}
